package com.ruoyi.training.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 学员通知对象 student_notice
 * 
 * @author lqx
 * @date 2025-10-24
 */
public class StudentNotice extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 学员通知表id（主键） */
    private String studentNoticeId;

    /** 培训班id */
    @Excel(name = "培训班id")
    private String trainingClassId;

    /** 是否短信渠道（0-否，1-是） */
    @Excel(name = "是否短信渠道", readConverterExp = "0=-否，1-是")
    private String isSms;

    /** 是否门户推送（0-否，1-是） */
    @Excel(name = "是否门户推送", readConverterExp = "0=-否，1-是")
    private String isPortal;

    /** 是否服务号推送（0-否，1-是） */
    @Excel(name = "是否服务号推送", readConverterExp = "0=-否，1-是")
    private String isService;

    /** 发送类型(1-全体学员 2-指定学员) */
    @Excel(name = "发送类型(1-全体学员 2-指定学员)")
    private String sendType;

    /** 通知内容 */
    @Excel(name = "通知内容")
    private String noticeContent;

    /** 发送人 */
    @Excel(name = "发送人")
    private String sendBy;

    /** 发送时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "发送时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date sendTime;

    public void setStudentNoticeId(String studentNoticeId) 
    {
        this.studentNoticeId = studentNoticeId;
    }

    public String getStudentNoticeId() 
    {
        return studentNoticeId;
    }

    public void setTrainingClassId(String trainingClassId) 
    {
        this.trainingClassId = trainingClassId;
    }

    public String getTrainingClassId() 
    {
        return trainingClassId;
    }

    public void setIsSms(String isSms) 
    {
        this.isSms = isSms;
    }

    public String getIsSms() 
    {
        return isSms;
    }

    public void setIsPortal(String isPortal) 
    {
        this.isPortal = isPortal;
    }

    public String getIsPortal() 
    {
        return isPortal;
    }

    public void setIsService(String isService) 
    {
        this.isService = isService;
    }

    public String getIsService() 
    {
        return isService;
    }

    public void setSendType(String sendType) 
    {
        this.sendType = sendType;
    }

    public String getSendType() 
    {
        return sendType;
    }

    public void setNoticeContent(String noticeContent) 
    {
        this.noticeContent = noticeContent;
    }

    public String getNoticeContent() 
    {
        return noticeContent;
    }

    public void setSendBy(String sendBy) 
    {
        this.sendBy = sendBy;
    }

    public String getSendBy() 
    {
        return sendBy;
    }

    public void setSendTime(Date sendTime) 
    {
        this.sendTime = sendTime;
    }

    public Date getSendTime() 
    {
        return sendTime;
    }

    @Override
    public String toString() {
        return "StudentNotice{" +
                "studentNoticeId='" + studentNoticeId + '\'' +
                ", trainingClassId='" + trainingClassId + '\'' +
                ", isSms='" + isSms + '\'' +
                ", isPortal='" + isPortal + '\'' +
                ", isService='" + isService + '\'' +
                ", sendType='" + sendType + '\'' +
                ", noticeContent='" + noticeContent + '\'' +
                ", sendBy='" + sendBy + '\'' +
                ", sendTime=" + sendTime +
                '}';
    }
}
